import java.util.Date;
public class TestArray{
  
  public TestArray(String name){
      System.out.println("姓名 " + name ); 
   }

  public static void main(String []args){
      // 下面的语句将创建一个Puppy对象
      TestArray testA = new TestArray( "tommy" );
      testA.TestAA();
   }

   public void TestAA(){
     int size = 3;
     int[] myIntList = new int[size];
     myIntList[0] = 1;
     myIntList[1] = 11;
     myIntList[2] = 22;
     for(int i:myIntList){
        System.out.println("111 " + i ); 
     }

     Date date = new Date();
     System.out.println("date:" + date.toString() ); 
   }

}